package com.atguigu.cloud.service;

/**
 * ClassName:AccountService
 * Package:com.atguigu.cloud.service
 * Description: 描述信息
 *
 * @date:2024/3/7 16:25
 * @author:坤坤
 */
public interface AccountService {

    /**
     * 扣减账户余额
     * @param userId 用户id
     * @param money 本次消费金额
     */
    void decrease( Long userId,  Long money);
}
